package com.nyc.anno;

import org.springframework.context.annotation.Import;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author 26917
 */
@Retention(RetentionPolicy.RUNTIME)
@Import(ImportSelector.class)
public @interface EnableAutoConfiguration {
    /**
     * 根据类去排除
     */
    Class<?>[] exclude() default {};

    /**
     * 根据bean的名字进行排除
     */
    String[] excludeName() default {};
}
